package com.softqin.washer.db;

import java.util.List;

import android.database.sqlite.SQLiteDatabase;

public interface DatabaseOperation {

	public SQLiteDatabase getReadableDb();

	public SQLiteDatabase getWritableDb();

	public void initDatabase();

	public List<?> findAll();

	public void insert(String sql);

	public void delete(String sql);

	public void update(String sql);

	public void select(String sql);

	public String getDatabaseVersionName();

	public void onCreate(SQLiteDatabase db);

	public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion);
}
